﻿<div class="sidebar-wrap console-nav">
    <h6>Requests</h6>
    <ul class="side-nav" data-bind="foreach: requests">
        <li data-bind="css: { active: $parent.context.console.requestId() == $data.id }, requestStatus: status">
            <!-- ko if: $parent.context.console.requestId() == $data.id -->
            <span data-bind="text: title, title: title"></span>
            <!-- /ko-->
            <!-- ko ifnot: $parent.context.console.requestId() == $data.id -->
            <a data-bind="href: $parent.getRequestDetailsUrl($data), title: title, text: title"></a>
            <!-- /ko-->
        </li>
    </ul>
</div>
<div class="controls">
    <ul class="button-group left">
        <li>
            <a class="small secondary button" data-bind="href: createUrl">
                <span aria-hidden="true" class="icon-plus"></span>
            </a>
        </li>
        <li>
            <button data-bind="click: clear" class="clear">clear</button>
        </li>
    </ul>
</div>
